-
Notifications
You must be signed in to change notification settings - Fork 7.9k
Fix warning in getTraceAsString #6768
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, but shouldn't this maybe target PHP 7.4 too as it is technically a bug fix?
4cd6866
to
340ae97
Compare
@derickr, @sgolemon, @petk , or @carusogabriel: any thoughts on merging this into 7.4 and/or 8.0? |
340ae97
to
09af94a
Compare
The error says "Function name" is not a string, but it's actually investigating the "file" field, not "function".
09af94a
to
2ae3fa0
Compare
On 17 March 2021 03:34:18 GMT, Levi Morrison ***@***.***> wrote:
***@***.***, @sgolemon, @petk , or @carusogabriel: any thoughts on merging
this into 7.4 and/or 7.0?
I've problems with merging it into 7.0 (I hope you meant 8.0?), but feel free to merge this into 7.4; it's clearly just a bug fix.
cheers,
Derick
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm good at having this at PHP 8.0. I've just tagged PHP 8.0.4RC1
, so this would only be available in the next release unless we see a need to patch it now :)
No rush, I'll merge it in and it'll go out when it goes out. It's harmless, so no rush, |
I'm now waiting on the updated merge workflow after the move to github. |
The workflow doesn't change; you only have to change your remote to point to Github instead of git.php.net. |
Merged into 8.0, as it didn't apply cleanly to 7.4. |
This is a long-standing and harmless bug.
The error says "Function name" is not a string, but it's actually
investigating the "file" field, not "function".
Simplify line number branches as well.